home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4046 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  493 b 

  1. Path: iafrica.com!not-for-mail
  2. From: vincer@iaccess.za (Vince Risi)
  3. Newsgroups: comp.lang.c++
  4. Subject: What is wrong with this code? (BC45)
  5. Date: 27 Jan 1996 13:08:15 +0200
  6. Organization: Internet Africa public service
  7. Message-ID: <yMOCxg2yqvDD083yn@iaccess.za>
  8. NNTP-Posting-Host: minnie.iafrica.com
  9.  
  10. Why would I get an illegal initialization from this code?
  11.  
  12. typedef char * pchar;
  13. pchar Fred = "This is a default value";
  14. pchar Mark = Fred;    // <------ ????
  15.  
  16. Is this a BC45 bug?
  17.  
  18. Vince
  19. =====
  20.